import request from '@/utils/request'

// 查询抖音营销数据明细列表
export function listBiDyMarketingDwd(query) {
  return request({
    url: '/marketing/BiDyMarketingDwd/list',
    method: 'get',
    params: query
  })
}

// 查询抖音营销数据明细详细
export function getBiDyMarketingDwd(id) {
  return request({
    url: '/marketing/BiDyMarketingDwd/' + id,
    method: 'get'
  })
}

// 新增抖音营销数据明细
export function addBiDyMarketingDwd(data) {
  return request({
    url: '/marketing/BiDyMarketingDwd',
    method: 'post',
    data: data
  })
}

// 修改抖音营销数据明细
export function updateBiDyMarketingDwd(data) {
  return request({
    url: '/marketing/BiDyMarketingDwd',
    method: 'put',
    data: data
  })
}

// 删除抖音营销数据明细
export function delBiDyMarketingDwd(id) {
  return request({
    url: '/marketing/BiDyMarketingDwd/' + id,
    method: 'delete'
  })
}
